473,466 Members | 1,324 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

left menu

Hello, I want to do the following using JS: when you click a link, the window resizes to 100% height
and aligns to the right + it opens another window that is 100% height x 300px width and aligned to
the left.

This makes two windows one next to the other, occupying the whole screen. I want to do this to put
links of bookmarks on the left window used as a navigation window. Can some one give me a script
that will do just this ?
Thanks,
--
Charles.
Jul 20 '05 #1
3 2312

"Charles" <go***********@yahoo.com> wrote in message
news:bp*************@ID-208473.news.uni-berlin.de...
Hello, I want to do the following using JS: when you click a link, the window resizes to 100% height and aligns to the right + it opens another window that is 100% height x 300px width and aligned to the left.

This makes two windows one next to the other, occupying the whole screen. I want to do this to put links of bookmarks on the left window used as a navigation window. Can some one give me a script that will do just this ?
Thanks,


Problem is, you have no reliable way of knowing how much space the
browser has access to. A better solution would be to use style sheets
and <DIV> tags, and assume teh user will have the window sized to his
needs. This also has the advantage of being easier for the likes of
google to search through.
--
--
Fabian
Visit my website often and for long periods!
http://www.lajzar.co.uk

Jul 20 '05 #2
Thanks Fabian, I did it actually :) http://www.abahia.com/bookmark
It's working fine, just for my screen resolution for now (1600 x 1200), but then it's easy, I just
have to add "if" conditions to resize it to 800x600, 1024x768, etc...
I have another problem: on the index page I want a button that'll close both open windows (kind of a
logout function). I haven't been able to have it work. Could you have a look at it please ?
Thanks,

--
Charles.
"Fabian" <la****@hotmail.com> escreveu na mensagem
news:bp*************@ID-174912.news.uni-berlin.de...
|
| "Charles" <go***********@yahoo.com> wrote in message
| news:bp*************@ID-208473.news.uni-berlin.de...
| > Hello, I want to do the following using JS: when you click a link, the
| window resizes to 100% height
| > and aligns to the right + it opens another window that is 100% height
| x 300px width and aligned to
| > the left.
| >
| > This makes two windows one next to the other, occupying the whole
| screen. I want to do this to put
| > links of bookmarks on the left window used as a navigation window. Can
| some one give me a script
| > that will do just this ?
| > Thanks,
|
| Problem is, you have no reliable way of knowing how much space the
| browser has access to. A better solution would be to use style sheets
| and <DIV> tags, and assume teh user will have the window sized to his
| needs. This also has the advantage of being easier for the likes of
| google to search through.
|
|
| --
| --
| Fabian
| Visit my website often and for long periods!
| http://www.lajzar.co.uk
|
Jul 20 '05 #3
Charles wrote:
Hello, I want to do the following using JS: when you click a link, the
window resizes to 100% height and aligns to the right + it opens another
window that is 100% height x 300px width and aligned to the left.
You do not need and you do not want to manipulate the working area of your
visitors by doubtful means.
This makes two windows one next to the other, occupying the whole screen.
What about my other (browser) windows that are forced in the background then?
I want to do this to put links of bookmarks on the left window used as a
navigation window.
You are looking for frames or (better) a frame-like layout with CSS.
Popup windows can be used, too, but do not resize the parent window then.
Can some one give me a script that will do just this ?


I could but I will not since it is *my* desktop, not yours.
PointedEars

P.S.
Your automagic line-break comes too late, constriction to 80 characters
per line is required and constriction from 72 up to 76 characters is
recommended (I have wrapped it here.) Please reconfigure your news client
correctly.
Jul 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Eric | last post by:
I would like to setup a two column layout for my web page using CSS. I would like the Left column width to be auto. Can I have the right column be offset by 8 pixels from the right edge of the...
4
by: Alex Bell | last post by:
I am developing at http://www.members.iinet.net.au/~abell1/test/index.htm with city.css at http://www.members.iinet.net.au/~abell1/test/city.css. Both validate. In index.htm there is a block of...
10
by: H.S. | last post by:
Hi, Let me begin by saying that I am not an HTML expert. The most experience I have for HTML authoring is when I made my webpages in my grad studies at my university and some on my home computer...
12
by: mdb | last post by:
My app has a notify icon in the systray. I want the left mouse click to initiate a menu, and a right-mouse click to do something else. Normally, for a button, I would listen to MouseDown and if I...
0
by: Amiram Korach | last post by:
When you create a MDI form, you can attach a main menu to the parent and to the child. When a child form is active, its menu is merged with the parent menu. The problem is: when the forms are...
0
by: jonipony | last post by:
HELP: Float Left box is drifting to the right in ie! -------------------------- I need som HELP with my CSS coding! On the following web page my design falls apart at screen size 800 x 600...
3
by: SteveMac | last post by:
I am using VS2003 VC++ .NET. I want to make a tray icon with a popup menu (like a context menu) that pops up for a left click. I can make the notifyicon with a context menu and that works fine,...
0
by: =?Utf-8?B?QmlzaG95?= | last post by:
Hi All, I have a Right to Left web page with asp.net 2.0 containing a horizontal menu. The menu is right to left as the page. The problem is the submenu items or the dynamic menu items are...
0
by: Why name | last post by:
Hi, I need to create a Web site for a client.Need help in designing the left menu item. The site has got 3 important parts. User : Who uses the system. Customer : Users are associated with...
0
by: wildman | last post by:
RE: menu width and background color ? Jusitify menu items on left side?? I probably need to do this a table or span.. I have a horizontal menu i want to be 800 wide with the same background...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.